[INFO] cloning repository https://github.com/marlowl/ink-voter-contract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marlowl/ink-voter-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarlowl%2Fink-voter-contract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarlowl%2Fink-voter-contract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12b411f246d40f9d74a7c978493b4e4ded3e2f79
[INFO] fixing marlowl/ink-voter-contract against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarlowl%2Fink-voter-contract" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/marlowl/ink-voter-contract
[INFO] finished tweaking git repo https://github.com/marlowl/ink-voter-contract
[INFO] tweaked toml for git repo https://github.com/marlowl/ink-voter-contract written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/marlowl/ink-voter-contract on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/marlowl/ink-voter-contract already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6
[INFO] running `Command { std: "docker" "start" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking byte-slice-cast v1.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking wyz v0.5.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking ink_prelude v3.0.0-rc9
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling safe-proc-macro2 v1.0.36
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking ink_allocator v3.0.0-rc9
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking array-init v2.0.0
[INFO] [stderr]     Checking bitvec v1.0.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]    Compiling safe-quote v1.0.15
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling safe-regex-compiler v0.2.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking secp256k1 v0.21.3
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling safe-regex-macro v0.2.5
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]     Checking safe-regex v0.2.5
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]     Checking sha3 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.0
[INFO] [stderr]    Compiling ink_lang_ir v3.0.0-rc9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ink_storage_derive v3.0.0-rc9
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.0.0
[INFO] [stderr]    Compiling scale-info-derive v2.0.0
[INFO] [stderr]    Compiling parity-scale-codec v3.0.0
[INFO] [stderr]    Compiling ink_primitives v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang_codegen v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang_macro v3.0.0-rc9
[INFO] [stderr]    Compiling pink-extension-macro v0.1.2
[INFO] [stderr]     Checking scale-info v2.0.1
[INFO] [stderr]     Checking ink_metadata v3.0.0-rc9
[INFO] [stderr]     Checking ink_env v3.0.0-rc9
[INFO] [stderr]     Checking ink_storage v3.0.0-rc9
[INFO] [stderr]     Checking ink_eth_compatibility v3.0.0-rc9
[INFO] [stderr]     Checking ink_lang v3.0.0-rc9
[INFO] [stderr]     Checking pink-extension v0.1.5
[INFO] [stderr]     Checking voter_sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `voter_sample`
[INFO] [stderr]  --> lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]             --> lib.rs:9:5
[INFO] [stderr]              |
[INFO] [stderr]            9 |     #[ink(storage)]
[INFO] [stderr]              |     ^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     #[derive(SpreadAllocate)]
[INFO] [stdout] 11 | |     pub struct Voter {
[INFO] [stdout] 12 | |         vote_count: i32,
[INFO] [stdout] 13 | |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 10 ~     unsafe(#[derive(SpreadAllocate)]
[INFO] [stdout] 11 |     pub struct Voter {
[INFO] [stdout] 12 |         vote_count: i32,
[INFO] [stdout] 13 |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.66s
[INFO] [stderr] crater-edition-check: voter_sample v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking voter_sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     #[derive(SpreadAllocate)]
[INFO] [stdout] 11 | |     pub struct Voter {
[INFO] [stdout] 12 | |         vote_count: i32,
[INFO] [stdout] 13 | |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         pub fn default() -> Self {
[INFO] [stdout] 19 | |             ink_lang::utils::initialize_contract(|contract: &mut Self| {
[INFO] [stdout] 20 | |                 contract.vote_count = Default::default();
[INFO] [stdout] 21 | |             })
[INFO] [stdout] 22 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     #[derive(SpreadAllocate)]
[INFO] [stdout] 11 | |     pub struct Voter {
[INFO] [stdout] 12 | |         vote_count: i32,
[INFO] [stdout] 13 | |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]   --> lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         pub fn default() -> Self {
[INFO] [stdout] 19 | |             ink_lang::utils::initialize_contract(|contract: &mut Self| {
[INFO] [stdout] 20 | |                 contract.vote_count = Default::default();
[INFO] [stdout] 21 | |             })
[INFO] [stdout] 22 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     #[derive(SpreadAllocate)]
[INFO] [stdout] 11 | |     pub struct Voter {
[INFO] [stdout] 12 | |         vote_count: i32,
[INFO] [stdout] 13 | |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 10 ~     unsafe(#[derive(SpreadAllocate)]
[INFO] [stdout] 11 |     pub struct Voter {
[INFO] [stdout] 12 |         vote_count: i32,
[INFO] [stdout] 13 |         id: ink_storage::Mapping<AccountId, i32>,
[INFO] [stdout] 14 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `voter_sample` (lib) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6", kill_on_drop: false }`
[INFO] [stdout] af6e68d1ac6de719456b1af115906f747ea17da04c4abda3d54df0f5d4cd27d6
